package wzc.design_pattern.creation.builder;

/**
 * @Author 王振川
 * @Date 2025/7/19
 */

public class BuilderPatternDemo {
    public static void main(String[] args) {
        Computer computer = new Computer.Builder()
                .setCPU("Intel i7")
                .setRAM("32GB")
                .setStorage("1TB SSD")
                .setGPU("NVIDIA RTX 4070")
                .build();
        computer.show();
    }
}
